//passenger class implementation
#include "passenger.h"

//default constructor
passenger::passenger() :
passportNumber(""),
name(""),
address(""),
phoneNumber("")
{};

//constructor
passenger::passenger(string passNum, string n, string add, string phNum) :
passportNumber(passNum),
name(n),
address(add),
phoneNumber(phNum)
{};

//destructor
passenger::~passenger(){};

string passenger::getPassportNumber() const
{
	return passportNumber;
};

void passenger::setPassportNumber(string passNum)
{
	passportNumber = passNum;
};

string passenger::getName() const
{
	return name;
};

void passenger::setName(string n)
{
	name = n;
};

string passenger::getAddress() const
{
	return address;
};

void passenger::setAddress(string add)
{
	address = add;
};

string passenger::getPhoneNumber() const
{
	return phoneNumber;
};

void passenger::setPhoneNumber(string phNum)
{
	phoneNumber = phNum;
};
